package cn.rkylin.oms.system.storage.dao;

import java.util.List;

import cn.rkylin.oms.system.storage.domain.Stor;
import cn.rkylin.oms.system.storage.vo.StorVO;

public interface IStorDAO {

	List getStorByCondition(Stor unitParam, int page, int rows) throws Exception;
	
	void delete(String stationParam,String string)throws Exception;
	
	List getStorByCondition(StorVO storVO) throws Exception;
	
	public void insert(StorVO storVO) throws Exception;
	
	void update(Stor ur)throws Exception;
	
	Stor findByid(String storId) throws Exception;

	/**
	 * 获取网店的默认仓库
	 * @param shopId
	 * @return 如查没有设置默认仓库，返回null
	 * @throws Exception
	 */
	StorVO getDefaultStor(String shopId) throws  Exception;
}
